package com.linkage.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_NOTICE
 * @author ReyesYi
 * @date 2020-06-08 15:13:04
 */
public class CoreNotice implements Serializable {
    /**
     * 主键
     */
    private String id;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 标题
     */
    private String title;

    /**
     * 创建时间
     */
    private Date createtime;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 公告是否启用: 0关闭 1启用
     */
    private Integer status;

    /**
     * 过期时间
     */
    private Date expireTime;

    /**
     * 内容
     */
    private String content;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    @Override
    public String toString() {
        return "CoreNotice{" +
            "id='" + id + '\'' +
            ", type=" + type +
            ", title='" + title + '\'' +
            ", createtime=" + createtime +
            ", creater='" + creater + '\'' +
            ", status=" + status +
            ", expireTime=" + expireTime +
            ", content='" + content + '\'' +
            '}';
    }
}